package one.stand.model;

import java.io.Serializable;
import java.util.Date;

public class Article implements Serializable {
    private Integer id;

    private Integer companyId;

    private String title;

    private String subtitle;

    private String shareCard;

    private Integer templateType;

    private Integer typeId;

    private String originName;

    private String originUrl;

    private Integer status;

    private Date upTime;

    private String labels;

    private Integer position;

    private Integer isPush;

    private Integer forwardCount;

    private Integer viewCount;

    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Article(Integer id, Integer companyId, String title, String subtitle, String shareCard, Integer templateType, Integer typeId, String originName, String originUrl, Integer status, Date upTime, String labels, Integer position, Integer isPush, Integer forwardCount, Integer viewCount, Date createTime, Date updateTime) {
        this.id = id;
        this.companyId = companyId;
        this.title = title;
        this.subtitle = subtitle;
        this.shareCard = shareCard;
        this.templateType = templateType;
        this.typeId = typeId;
        this.originName = originName;
        this.originUrl = originUrl;
        this.status = status;
        this.upTime = upTime;
        this.labels = labels;
        this.position = position;
        this.isPush = isPush;
        this.forwardCount = forwardCount;
        this.viewCount = viewCount;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Article() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getSubtitle() {
        return subtitle;
    }

    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle == null ? null : subtitle.trim();
    }

    public String getShareCard() {
        return shareCard;
    }

    public void setShareCard(String shareCard) {
        this.shareCard = shareCard == null ? null : shareCard.trim();
    }

    public Integer getTemplateType() {
        return templateType;
    }

    public void setTemplateType(Integer templateType) {
        this.templateType = templateType;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getOriginName() {
        return originName;
    }

    public void setOriginName(String originName) {
        this.originName = originName == null ? null : originName.trim();
    }

    public String getOriginUrl() {
        return originUrl;
    }

    public void setOriginUrl(String originUrl) {
        this.originUrl = originUrl == null ? null : originUrl.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getUpTime() {
        return upTime;
    }

    public void setUpTime(Date upTime) {
        this.upTime = upTime;
    }

    public String getLabels() {
        return labels;
    }

    public void setLabels(String labels) {
        this.labels = labels == null ? null : labels.trim();
    }

    public Integer getPosition() {
        return position;
    }

    public void setPosition(Integer position) {
        this.position = position;
    }

    public Integer getIsPush() {
        return isPush;
    }

    public void setIsPush(Integer isPush) {
        this.isPush = isPush;
    }

    public Integer getForwardCount() {
        return forwardCount;
    }

    public void setForwardCount(Integer forwardCount) {
        this.forwardCount = forwardCount;
    }

    public Integer getViewCount() {
        return viewCount;
    }

    public void setViewCount(Integer viewCount) {
        this.viewCount = viewCount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}